package hn.cch.elk_log.controllor;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ElkController {

    private static final Logger logger = LoggerFactory.getLogger(ElkController.class);


    @GetMapping("index")
    public String index(){
        logger.info("ElkController.index");
        return "{\"time\":\"2020-11-18 10:10:10\"}";
    }

}
